#include<bits/stdc++.h>
using namespace std;

double mes_cal(double in)
{
	double temp=ceil(in/70);
	double bak=temp*0.1; 
	return bak;
}

int main()
{
	double n;
	double in;
	double res=0;
	cin>>n;
	for (int i=1;i<=n;i++)
	{
		cin>>in;
		res+=mes_cal(in);
	}
	cout<<res<<endl;
	return 0;
}